﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Smart.Admin.Domain.Model.Request.Employee
{
    public class UpdateEmployeeStatusRequest
    {
        /// <summary>
        /// 员工编号
        /// </summary>
        public long EmployeeId
        {
            get;
            set;
        }

        /// <summary>
        /// 状态(0:禁用,1:启用)
        /// </summary>
        [Range(0, 1, ErrorMessage = "状态只能为禁用或者启用")]
        public int Status
        {
            get;
            set;
        }
    }
}
